<template>
  <van-config-provider :them-vars="themeVars">
    <div class='jd-header'></div>
    <JdContainer></JdContainer>

    <div id="jd-footer">
      <JdFooter v-if="!$route.meta.hidFooter"></JdFooter>
    </div>

  </van-config-provider>
</template>

<script setup lang="ts">
import { themeVars } from '@/config/theme'


// 导入指定的组件
import JdHeader from '@/views/JdHeader/index.vue'
import JdContainer from '@/views/JdContainer/index.vue'
import JdFooter from '@/views/JdFooter/index.vue'


// 拿到路由相关信息
import { useRoute } from 'vue-router'
import type { RouteLocationNormalizedLoaded } from 'vue-router'
const $route: RouteLocationNormalizedLoaded = useRoute()

// console.log($route);

</script>

<style scoped lang="scss">

</style>


